#ifndef STONE_H
#define STONE_H

#include <QWidget>

namespace Ui {
class stone;
}

class stone : public QWidget
{
    Q_OBJECT

public:
    explicit stone(QWidget *parent = 0);
    enum TYPE {rook,knight,bishop,queen,king,pawn};
    void startChess(const int n);
    QString getType();
    int x,y,num,moved=0;
    bool white,dead;
    TYPE chessType;
    ~stone();

private:

};

#endif // STONE_H
